package com.wty.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @Author:wangtianyu
 * @Date：Created on 2020/5/9 0009 9:27
 */
@EnableEurekaServer // 开启当前的工程为注册中心 eureka
@SpringBootApplication
public class EurekaApplication {
    public static void main(String[] args) {
        SpringApplication.run(EurekaApplication.class);
    }
}
